<template>
    <div>
        <h1 ref="appEle">refS</h1>
        <p>{{name}},{{age}},{{sex}}</p>
        <button @click="add"></button>
    </div>
</template>

<script>
    export default {
        name : 'Content',
        props:['name','age','sex'], 
        methods:{
            add(){
                console.log(this);
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>